import request from '@/utils/request'
// 注册请求
export const regAPI = obj => {
  return request.post('/api/reg', obj)
}
// 登录请求
export const loginAPI = obj => {
  return request.post('/api/login', obj)
}
export const getUserAPI = () => {
  return request.get('/my/userinfo')
}
